﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Unis.ORM.Mapping
{
    public class QueryParameterMappingInfo
    {
        // Fields
        private string _FieldName;
        private string _PropertyName;

        // Methods
        public QueryParameterMappingInfo()
        {
        }

        public QueryParameterMappingInfo(string propertyName, string fieldName)
        {
            this._PropertyName = propertyName;
            this._FieldName = fieldName;
        }

        // Properties
        public string FieldName
        {
            get
            {
                return this._FieldName;
            }
            set
            {
                this._FieldName = value;
            }
        }

        public string PropertyName
        {
            get
            {
                return this._PropertyName;
            }
            set
            {
                this._PropertyName = value;
            }
        }
    }
}
